package cn.yuxiaoyuan.article.mapper;

import cn.yuxiaoyuan.article.bo.ArticleTypeCountBo;
import cn.yuxiaoyuan.article.domain.Article;
import cn.yuxiaoyuan.article.query.ArticleQuery;
import cn.yuxiaoyuan.base.mapper.BaseMapper;

import java.util.List;

public interface ArticleMapper extends BaseMapper<Article> {
    List<Article> queryPage(ArticleQuery articleQuery);

    List<Article> selectPage(ArticleQuery articleQuery);

    List<ArticleTypeCountBo> articleTypeCount();
}
